package com.ruoyi.web.config;

public class GiteeConfig {
    //跳转gitee授权页面
    public final static String  getCode="https://gitee.com/oauth/authorize?client_id={client_id}&redirect_uri={redirect_uri}&response_type=code&scope=user_info";
    //获取gitee授权码
    public final static String  getAccessToken="https://gitee.com/oauth/token?grant_type=authorization_code&code={code}&client_id={client_id}&redirect_uri={redirect_uri}&client_secret={client_secret}";

    //获取gitee用户信息
    public final static String  getUserInfo="https://gitee.com/api/v5/user?";


    /**
     * 客户端标识
     */
    public final static String client_id="ceb23160d56a3d0064f121f90a6521a295202f20af9d005be68c6ec590704b5b";
    /**
     * 客户端密钥
     */
    public final static String client_secret="8dce78eb159c6e82313f66b87aba03654a4ad2b2686dbdfdaac4b81285f4308c";
    /**
     * 回调路径
     */
//    public final static String redirect_uri="http://localhost:8080/GiteeCallBack";
    public final static String redirect_uri="http://localhost/callback";
}
